import java.util.*;
public class seven {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个整数：");
        int x = sc.nextInt();
        if (x % 7 == 0 || x % 10 == 7) {
            System.out.println("过");
        }else {
            System.out.println("不过");
        }

    }
}
